<%--
  Created by IntelliJ IDEA.
  User: 谢兴鑫
  Date: 2022/5/23
  Time: 上午 09:11
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c"  uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<h2 style="width: 500px;text-align: center;text-decoration: underline;">员工请假申请单</h2>
<c:forEach items="${LookHolidayContent}" var="l">
    <p>申请日期：${l.startTime}</p>
    <table border="1"width="500"style="border-collapse:collapse"><!--需合并表格边框-->
        <tr>
            <td>所属部门</td>
            <td>${l.depName}</td>
            <td>名字</td>
            <td>${l.empName}</td>
            <td>联系方式：</td>
            <td>${l.phone}</td>
        </tr>
        <tr>
            <td rowspan="2">期间</td>                <!--跨2行-->
            <td colspan="3">始：${l.startTime}</td> <!--跨2列-->
            <td>天数</td>    <!--跨2行-->
            <td>${l.holidayDay}</td>
        </tr>
        <tr>
            <td colspan="3">至：${l.endTime}</td>  <!--跨3列-->
        </tr>
        <tr>
            <td colspan="2">标题</td>  <!--跨2列-->
            <td colspan="4">${l.title}</td>       <!--跨4列-->
        </tr>
        <tr>
            <td colspan="2">内容</td>  <!--跨2列-->
            <td colspan="4">${l.remark}</td>       <!--跨4列-->
        </tr>
    </table>
</c:forEach>
</body>
</html>
